package m.system.lang;

import m.appserver.ServerResult;
import m.appserver.ServerResultStatus;

public class HtmlBodyContent implements ServerResult {
	private String htmlBody;
	public HtmlBodyContent(String htmlBody){
		this.htmlBody=htmlBody;
	}

	public String getHtmlBody() {
		return htmlBody;
	}

	public void setHtmlBody(String htmlBody) {
		this.htmlBody = htmlBody;
	}
	public String toString(){
		return this.htmlBody;
	}

	private ServerResultStatus status=ServerResultStatus.SUCCESS;
	public HtmlBodyContent setStatus(ServerResultStatus status){
		this.status=status;
		return this;
	}
	@Override
	public ServerResultStatus getStatus() {
		return this.status;
	}

	@Override
	public String getContent() {
		return this.htmlBody;
	}
}
